/* This is a generated file. Don't edit. Edit the source instead.
 */

#ifndef _sp_send_h_
#define _sp_send_h_

#include "spclient.h"

int sp_send_rescan_share_interval(sp_t *sp, unsigned int seconds);
int sp_send_update_user_info(sp_t *sp, const char *speed, const char *description, const char *email);
int sp_send_set_port(sp_t *sp, int port);
int sp_send_search_all(sp_t *sp, const char *search_string, uint64_t size, int size_restriction, int file_type, int id);
int sp_send_transfer_stats_interval(sp_t *sp, unsigned int seconds);
int sp_send_add_shared_path(sp_t *sp, const char *path);
int sp_send_download_file(sp_t *sp, const char *hub_address, const char *nick, const char *source_filename, uint64_t size, const char *target_filename, const char *tth);
int sp_send_forget_search(sp_t *sp, int search_id);
int sp_send_public_message(sp_t *sp, const char *hub_address, const char *message);
int sp_send_raw_command(sp_t *sp, const char *hub_address, const char *command);
int sp_send_queue_remove_nick(sp_t *sp, const char *nick);
int sp_send_set_incomplete_directory(sp_t *sp, const char *incomplete_directory);
int sp_send_set_download_directory(sp_t *sp, const char *download_directory);
int sp_send_queue_remove_filelist(sp_t *sp, const char *nick);
int sp_send_set_hash_prio(sp_t *sp, unsigned int prio);
int sp_send_remove_shared_path(sp_t *sp, const char *path);
int sp_send_grant_slot(sp_t *sp, const char *nick);
int sp_send_download_filelist(sp_t *sp, const char *hub_address, const char *nick, int force_update, int auto_match);
int sp_send_set_slots(sp_t *sp, unsigned int slots, unsigned int per_hub_flag);
int sp_send_private_message(sp_t *sp, const char *hub_address, const char *nick, const char *message);
int sp_send_expect_shared_paths(sp_t *sp, int num_shared_paths);
int sp_send_set_passive(sp_t *sp, int on);
int sp_send_set_password(sp_t *sp, const char *hub_address, const char *password);
int sp_send_connect(sp_t *sp, const char *hub_address, const char *nick, const char *email, const char *description, const char *speed, int passive, const char *password, const char *encoding);
int sp_send_queue_remove_target(sp_t *sp, const char *target_filename);
int sp_send_disconnect(sp_t *sp, const char *hub_address);
int sp_send_set_auto_search(sp_t *sp, int enabled);
int sp_send_set_ip_address(sp_t *sp, const char *ip_address);
int sp_send_set_follow_redirects(sp_t *sp, unsigned int flag);
int sp_send_cancel_transfer(sp_t *sp, const char *target_filename);
int sp_send_set_priority(sp_t *sp, const char *target_filename, unsigned int priority);
int sp_send_queue_remove_directory(sp_t *sp, const char *target_directory);
int sp_send_search(sp_t *sp, const char *hub_address, const char *search_string, uint64_t size, int size_restriction, int file_type, int id);
int sp_send_queue_remove_source(sp_t *sp, const char *target_filename, const char *nick);
int sp_send_shutdown(sp_t *sp);
int sp_send_download_directory(sp_t *sp, const char *hub_address, const char *nick, const char *source_directory, const char *target_directory);
int sp_send_pause_hashing(sp_t *sp);
int sp_send_resume_hashing(sp_t *sp);
int sp_send_log_level(sp_t *sp, const char *level);
#endif
